package com.atguigu.spzx.manager.auth;


import com.atguigu.spzx.manager.properties.SpzxMinioProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;


//这个类是把不要拦截的路径 保存在yml中
//然后创建一个Properties @ConfigurationProperties扫描yml中的定义路径
//@EnableConfigurationProperties(value = {UserAuthProperties.class, SpzxMinioProperties.class})
//在注册类中 使用EnableConfigurationProties自动扫描配置类
@Data
@ConfigurationProperties(prefix = "spzx.auth")
public class UserAuthProperties {

    private List<String> noAuthUrls;
}
